package com.mtq.web.userlogin.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mtq.web.userlogin.dao.IUserLoginDao;

@Service
@Transactional
public class UserLoginService {

	@Autowired
	private IUserLoginDao iUserLoginDao;
	
	public Map<String,Object> loginQuery(String userName,String password) throws Exception{
		return iUserLoginDao.queryUserLogin(userName, password);
	}
}
